package com.mzj.saas.mservice.propertybill.entity;

import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 物业-水费
 */

@Entity
@Table(name = "saas_estate_expense_water")
public class EstateExpenseWater extends IdEntity{

    @Column(name = "rule_id",nullable = true)
    private String ruleId; //规则id

    @Column(name = "expense_id",nullable = true)
    private Long expenseId; //项目id

    @Column(name = "water_start_num",nullable = true)
    private Integer waterStartNum; //水起数

    @Column(name = "water_end_num",nullable = true)
    private Integer waterEndNum; //水止数

    @Column(name = "water_usage",nullable = true)
    private Integer waterUsage; //水用量(吨)

    @Column(name = "water_unit_price",nullable = true)
    private Integer waterUnitPrice; //水单价(元/吨)

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public Long getExpenseId() {
        return expenseId;
    }

    public void setExpenseId(Long expenseId) {
        this.expenseId = expenseId;
    }

    public Integer getWaterStartNum() {
        return waterStartNum;
    }

    public void setWaterStartNum(Integer waterStartNum) {
        this.waterStartNum = waterStartNum;
    }

    public Integer getWaterEndNum() {
        return waterEndNum;
    }

    public void setWaterEndNum(Integer waterEndNum) {
        this.waterEndNum = waterEndNum;
    }

    public Integer getWaterUsage() {
        return waterUsage;
    }

    public void setWaterUsage(Integer waterUsage) {
        this.waterUsage = waterUsage;
    }

    public Integer getWaterUnitPrice() {
        return waterUnitPrice;
    }

    public void setWaterUnitPrice(Integer waterUnitPrice) {
        this.waterUnitPrice = waterUnitPrice;
    }
}
